/*--------------------------------*- C++ -*----------------------------------*\
  | =========                 |                                                 |
  | \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
  |  \\    /   O peration     | Version:  2.3.0                                 |
  |   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
  |    \\/     M anipulation  |                                                 |
  \*---------------------------------------------------------------------------*/
FoamFile
{
  version     2.0;
  format      ascii;
  class       dictionary;
  object      blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

convertToMeters 1;

H   1.5;
R   1.5;

x #calc "$R * cos(Foam::constant::mathematical::pi/180)";
y #calc "$R * sin(Foam::constant::mathematical::pi/180)";
ny #calc "-$R * sin(Foam::constant::mathematical::pi/180)";
vertices
(
    (0 0 0)
    ($x $ny 0)
    ($x $y  0)
    (0 0 $H)
    ($x $ny $H)
    ($x $y  $H)
);

blocks
(
    hex (0 1 2 0 3 4 5 3) (30 1 30) simpleGrading (1 1 1)
);

edges
(
);

boundary
(
    ground
    {
        type patch;
        faces
        (
            (0 1 2 0)
        );
    }
    outlet
    {
        type patch;
        faces
        (
            (1 2 5 4)
            (3 4 5 3)
        );
    }
    wedge0
    {
        type wedge;
        faces
        (
            (0 1 4 3)
        );
    }
    wedge1
    {
        type wedge;
        faces
        (
            (0 2 5 3)
        );
    }
 );

mergePatchPairs
(
);

// ************************************************************************* //
